<!DOCTYPE html>
<!--解决idea thymeleaf 表达式模板报红波浪线-->
<!--suppress ALL -->
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <!-- 引入公用部分 -->
    <!--<script th:replace="head::static"></script>-->

    <script src="/jquery/jquery.js"></script>
    <link href="/layui/css/layui.css" rel="stylesheet" type="text/css">
    <script src="/layui/layui.js"></script>
    <style>
        .div{
            float:left;
            margin-left:20px;
            width:220px;
            margin-top:20px;
        }
    </style>
    <!-- 样式 -->
    <link th:href="@{/css/seller/seller.css}" rel="stylesheet" type="text/css"/>
</head>
<body>

                <form id="sellerForm" class="layui-form layui-form-pane">
                    <div class="layui-form-item">
                        <label class="layui-form-label">商户名称</label>
                        <div class="layui-input-block">
                            <input type="text" name="sellerName" 
                            		autocomplete="off" placeholder="商户名称"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">公司全称</label>
                        <div class="layui-input-block">
                            <input type="text" name="sellerCompanyName" 
                            		autocomplete="off" placeholder="公司全称"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">手机号</label>
                        <div class="layui-input-block">
                            <input type="text" name="sellerMobile" 
                            		autocomplete="off" placeholder="手机号"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">负责人姓名</label>
                        <div class="layui-input-block">
                            <input type="text" name="sellerPersonName" 
                            		autocomplete="off" placeholder="负责人姓名"
                                   	class="layui-input">
                        </div>
                    </div>
                     <div class="layui-form-item">
                        <label class="layui-form-label">负责人身份证</label>
                        <div class="layui-input-block">
                            <input type="text" name="sellerCardCode" 
                            		autocomplete="off" placeholder="负责人身份证"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">城市</label>
                        <div class="layui-input-block">
                            <input type="text" name="sellerCity" 
                            		autocomplete="off" placeholder="城市"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">注册日期</label>
                            <div class="layui-input-block">
                                <input type="text" name="loadDate"
                                	   autocomplete="off" id="inputStartDate" placeholder="yyyy-MM-dd"
                                       class="layui-input">
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">薪酬最大值</label>
                        <div class="layui-input-block">
                            <input type="text" name="maxPay" 
                            		autocomplete="off" placeholder="薪酬最大值"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">薪酬最小值</label>
                        <div class="layui-input-block">
                            <input type="text" name="minPay" 
                            		autocomplete="off" placeholder="薪酬最小值"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">工商注册号</label>
                        <div class="layui-input-block">
                            <input type="text" name="taxPayerCode" 
                            		autocomplete="off" placeholder="工商注册号"
                                   	class="layui-input">
                        </div>
                    </div>
                    
                    <div class="layui-form-item">
                        <label class="layui-form-label">负责人身份证正面<font color="red">*</font></label>
                        <div class="layui-upload layui-input-block">
                            <div class="upLoadFormDadaDiv layui-btn">
                                <i class="layui-icon"></i>上传图片
                                <input id="justIdFileData" type="file" name="file">
                            </div>
                            <div style="margin: 0px 10px">
                                <img class="layui-upload-img" id="picShowJustId" height="200" onclick="show_img(this)">
                            </div>
                            <input type="hidden" name="certPhotoA" id="certPhotoA_" >
                        </div>
                    </div>
                    
                    <div class="layui-form-item">
                        <label class="layui-form-label">负责人身份证反面<font color="red">*</font></label>
                        <div class="layui-upload layui-input-block">
                            <div class="upLoadFormDadaDiv layui-btn">
                                <i class="layui-icon"></i>上传图片
                                <input id="backIdFileData" type="file" name="file">
                            </div>
                            <div style="margin: 0px 10px">
                                <img class="layui-upload-img" id="picShowBackId" height="200" onclick="show_img(this)">
                            </div>
                            <input type="hidden" name="certPhotoB" id="certPhotoB_">
                        </div>
                    </div>
                    
                    <div class="layui-form-item">
                        <label class="layui-form-label">营业执照上传<font color="red">*</font></label>
                        <div class="layui-upload layui-input-block ">
                            <div class="upLoadFormDadaDiv layui-btn">
                                <i class="layui-icon"></i>上传图片
                                <input id="AjaxFileData" type="file" name="file">
                            </div>
                            <div style="margin: 0px 10px">
                                <img class="layui-upload-img" id="picShow" height="200" onclick="show_img(this)">
                                <p id="demoText"></p>
                            </div>
                            <input type="hidden" name="businessLicenseFile">
                        </div>
                    </div>
                    
                    
                    
                     <div class="layui-form-item">
                        <label class="layui-form-label">上传签约合同<font color="red">*</font></label>
                        <div class="layui-upload layui-input-block ">
                            <div class="upLoadFormDadaDiv layui-btn">
                                <i class="layui-icon"></i>上传文件
                                <input id="contractFileData" type="file" name="file">
                            </div>
                            <input type="hidden" id ="contractFile" name="contractFile">
                        </div>
                    </div>
                    
                    
                    
                    <div class="layui-form-item">
                        <label class="layui-form-label">注册地址</label>
                        <div class="layui-input-block">
                            <input type="text" name="sellerAddress" 
                            		autocomplete="off" placeholder="公司注册地址"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">注册电话</label>
                        <div class="layui-input-block">
                            <input type="text" name="sellerPhone" 
                            		autocomplete="off" placeholder="注册电话"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">开户银行</label>
                        <div class="layui-input-block">
                            <input type="text" name="sellerBank" 
                            		autocomplete="off" placeholder="开户银行"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">银行账户</label>
                        <div class="layui-input-block">
                            <input type="text" name="sellerBankAccount" 
                            		oninput = "value=value.replace(/[^\d]/g,'')" autocomplete="off" placeholder="银行账户"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">IP白名单</label>
                        <div class="layui-input-block">
                            <input type="text" name="adoptIp" id="adoptIp"
                            		autocomplete="off" placeholder="最多设置5个，逗号分割"
                                   	class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">支付类型</label>
                        <div class="layui-input-block">
                            <select name="isOld">
                                <option value="N">支付验证</option>
                                <option value="Y">支付不验证</option>
                            </select>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <label class="layui-form-label">服务类型</label>
                        <div class="layui-input-block">
                            <input type="text" name="serviceType"
                                   autocomplete="off" placeholder="服务类型" readonly="readonly"
                                   class="layui-input">
                        </div>
                        <div id="role_id">

                        </div>
                        <button type="button" class="layui-btn layui-btn-sm" style="margin-top: 40px; margin-left: 83%;" onclick="sure()"  lay-event="addServiceType">确定<i class="layui-icon layui-icon-add-1"></i></button>
                    </div>

                    <input type="hidden" name="isAuthentication" value="Y">
                    <input type="hidden" name="loginId" value="">
                    <input type="hidden" name="loginName" value="">
					
                </form>

                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <a class="layui-btn" onclick="sellerFormSave()">保存</a>
                    </div>
                    
                </div>
</body>
<!-- js -->
<script th:src="@{/js/seller/seller.js}"></script>
</html>